package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库房管理对象 t_stockroom
 * 
 * @author hu
 * @date 2024-05-08
 */
public class TStockroom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库id */
    private Integer stockroomId;

    /** 仓库名字 */
    @Excel(name = "仓库名字")
    private String stockroomName;

    /** 仓库编码 */
    @Excel(name = "仓库编码")
    private String stockroomBm;

    /** 仓库地址 */
    @Excel(name = "仓库地址")
    private String stockroomAddress;

    /** 仓库归属部门 */
    @Excel(name = "仓库归属部门")
    private String stockroomDepartment;

    /** 仓库总容量 */
    @Excel(name = "仓库总容量")
    private String stockroomCapacity;

    /** 0为可用，1为不可用 */
    @Excel(name = "0为可用，1为不可用")
    private String stockroomState;

    public void setStockroomId(Integer stockroomId) 
    {
        this.stockroomId = stockroomId;
    }

    public Integer getStockroomId() 
    {
        return stockroomId;
    }
    public void setStockroomName(String stockroomName) 
    {
        this.stockroomName = stockroomName;
    }

    public String getStockroomName() 
    {
        return stockroomName;
    }
    public void setStockroomBm(String stockroomBm) 
    {
        this.stockroomBm = stockroomBm;
    }

    public String getStockroomBm() 
    {
        return stockroomBm;
    }
    public void setStockroomAddress(String stockroomAddress) 
    {
        this.stockroomAddress = stockroomAddress;
    }

    public String getStockroomAddress() 
    {
        return stockroomAddress;
    }
    public void setStockroomDepartment(String stockroomDepartment) 
    {
        this.stockroomDepartment = stockroomDepartment;
    }

    public String getStockroomDepartment() 
    {
        return stockroomDepartment;
    }
    public void setStockroomCapacity(String stockroomCapacity) 
    {
        this.stockroomCapacity = stockroomCapacity;
    }

    public String getStockroomCapacity() 
    {
        return stockroomCapacity;
    }
    public void setStockroomState(String stockroomState) 
    {
        this.stockroomState = stockroomState;
    }

    public String getStockroomState() 
    {
        return stockroomState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stockroomId", getStockroomId())
            .append("stockroomName", getStockroomName())
            .append("stockroomBm", getStockroomBm())
            .append("stockroomAddress", getStockroomAddress())
            .append("stockroomDepartment", getStockroomDepartment())
            .append("stockroomCapacity", getStockroomCapacity())
            .append("stockroomState", getStockroomState())
            .toString();
    }
}
